package com.iotek.service;

import java.util.List;

import com.iotek.entity.Order;
import com.iotek.entity.Payment;

public interface IPaymentService {
	/**
	 * 增加支付记录
	 * @param payment
	 * @return
	 */
	public boolean addPayment(Payment payment);
	/**
	 * 删除支付记录
	 * @param payment
	 * @return
	 */
	public boolean deletePayment(Payment payment);
	/**
	 *查找支付记录
	 * @param payment
	 * @return
	 */
	public List<Payment> findPayment(Payment payment);
	/**
	 *修改订单状态״̬
	 */
	public boolean updateOrderState(Order order);
	public boolean updateOrderState1(Order order);
	/**
	 * 查询订单
	 */
	public Order findOrder(Order order);


}
